<?php
/**
 * Created by PhpStorm.
 * User: zhan
 * Date: 2018/5/9  14:42
 */
namespace app\home\controller;
use app\home\controller\Commen;
//use app\home\model\Area;

class Area extends Commen
{
    public function __construct()
    {
//        parent::_construct();
    }

    //首页
    public function index()
    {
//        $area = new Area();
//        $area_result = $area->where('parent_id', 0)->select();
//        halt($area_result);
        return $this->fetch();
    }
}